{"ast":null,"code":"import merge from './merge';\nfunction compose() {\n  for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {\n    styles[_key] = arguments[_key];\n  }\n  const handlers = styles.reduce((acc, style) => {\n    style.filterProps.forEach(prop => {\n      acc[prop] = style;\n    });\n    return acc;\n  }, {});\n  const fn = props => {\n    return Object.keys(props).reduce((acc, prop) => {\n      if (handlers[prop]) {\n        return merge(acc, handlers[prop](props));\n      }\n      return acc;\n    }, {});\n  };\n  fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n  fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n  return fn;\n}\nexport default compose;","map":{"version":3,"names":["merge","compose","styles","handlers","reduce","acc","style","filterProps","forEach","prop","fn","props","Object","keys","propTypes","process","env","NODE_ENV","assign","concat"],"sources":["/data/messenger.client/node_modules/@mui/system/esm/compose.js"],"sourcesContent":["import merge from './merge';\n\nfunction compose(...styles) {\n  const handlers = styles.reduce((acc, style) => {\n    style.filterProps.forEach(prop => {\n      acc[prop] = style;\n    });\n    return acc;\n  }, {});\n\n  const fn = props => {\n    return Object.keys(props).reduce((acc, prop) => {\n      if (handlers[prop]) {\n        return merge(acc, handlers[prop](props));\n      }\n\n      return acc;\n    }, {});\n  };\n\n  fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n  fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n  return fn;\n}\n\nexport default compose;"],"mappings":"AAAA,OAAOA,KAAK,MAAM,SAAS;AAE3B,SAASC,OAAO,GAAY;EAAA,kCAARC,MAAM;IAANA,MAAM;EAAA;EACxB,MAAMC,QAAQ,GAAGD,MAAM,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,KAAK,KAAK;IAC7CA,KAAK,CAACC,WAAW,CAACC,OAAO,CAACC,IAAI,IAAI;MAChCJ,GAAG,CAACI,IAAI,CAAC,GAAGH,KAAK;IACnB,CAAC,CAAC;IACF,OAAOD,GAAG;EACZ,CAAC,EAAE,CAAC,CAAC,CAAC;EAEN,MAAMK,EAAE,GAAGC,KAAK,IAAI;IAClB,OAAOC,MAAM,CAACC,IAAI,CAACF,KAAK,CAAC,CAACP,MAAM,CAAC,CAACC,GAAG,EAAEI,IAAI,KAAK;MAC9C,IAAIN,QAAQ,CAACM,IAAI,CAAC,EAAE;QAClB,OAAOT,KAAK,CAACK,GAAG,EAAEF,QAAQ,CAACM,IAAI,CAAC,CAACE,KAAK,CAAC,CAAC;MAC1C;MAEA,OAAON,GAAG;IACZ,CAAC,EAAE,CAAC,CAAC,CAAC;EACR,CAAC;EAEDK,EAAE,CAACI,SAAS,GAAGC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,GAAGf,MAAM,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,KAAK,KAAKM,MAAM,CAACM,MAAM,CAACb,GAAG,EAAEC,KAAK,CAACQ,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;EAClIJ,EAAE,CAACH,WAAW,GAAGL,MAAM,CAACE,MAAM,CAAC,CAACC,GAAG,EAAEC,KAAK,KAAKD,GAAG,CAACc,MAAM,CAACb,KAAK,CAACC,WAAW,CAAC,EAAE,EAAE,CAAC;EACjF,OAAOG,EAAE;AACX;AAEA,eAAeT,OAAO"},"metadata":{},"sourceType":"module"}